#ifndef REGISTER_H
#define REGISTER_H

#include <QDialog>
#include <QCryptographicHash>


namespace Ui {
class Register;
}

class Register : public QDialog
{
    Q_OBJECT

public:
    explicit Register(QWidget *parent = nullptr);
    ~Register();
    static QString toMd5(const QString &str);

private slots:
    void on_btn_continue_clicked();

    void on_le_c_password_textChanged(const QString &arg1);

    void on_le_password_textChanged(const QString &arg1);

    void on_le_username_textChanged(const QString &arg1);

    void on_btn_eye_pressed();

    void on_btn_eye_released();

    void on_btn_sc_clicked();



private:
    Ui::Register *ui;
    QTimer *timer = nullptr;
    QString code = "123";
};

#endif // REGISTER_H
